package com.bjpowernode.crm.settings.service;

import com.bjpowernode.crm.settings.domain.DicType;

import java.util.List;

/**
 * 郭俊才
 * 2021/8/20
 */
public interface DicTypeService {
    //添加字典类型
    int save(DicType record);
    //删除字典类型
    int removeByCodes(String[] codes);
    //修改
    int editByPrimaryKey(DicType dicType);
    //查询全部
    List<DicType> queryAll();
    //根据code查找
    DicType queryByPrimaryKey(String code);
}
